package com.fhz.kotlintest.databinding

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.databinding.DataBindingUtil
import com.fhz.kotlintest.R
import com.fhz.kotlintest.databinding.fragment.FoodFragment

class FoodMainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        var bing =  DataBindingUtil.setContentView<ActivityFoodMainBinding>(this,R.layout.activity_food_main)

        supportFragmentManager.beginTransaction().add(R.id.ff,FoodFragment()).commit()
    }
}